// components/ml-radios/ml-radios.js
Component({
  properties: {
    options: {
      type: Array,
    },
    value: null,
    optionType: {
      type: String,
      value: 'default'
    }
  },
  methods: {
    handleSelect(event) {
      const option = event.currentTarget.dataset.option;
      if(option) {
        this.setData({
          value: option.value,
        })
      }
    },
  }
})
